package W11082;

public abstract class Mang {
	protected String card;
	private String logo;
	private double rent;

	public Mang() {

	}
	public abstract double calMoney(int day);

	public Mang(String card, String logo, double rent) {
		this.card = card;
		this.logo = logo;
		this.rent = rent;
	}

	public String getCard() {
		return card;
	}

	public void setCard(String card) {
		this.card = card;
	}

	public String getLogo() {
		return logo;
	}

	public void setLogo(String logo) {
		this.logo = logo;
	}

	public double getRent() {
		return rent;
	}

	public void setRent(double rent) {
		this.rent = rent;
	}

	
}
